![]() |
Sensor Fusion for Kinetis MCUs (ISSDK/KSDK version)
|
Include dependency graph for drivers.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
SysTick Macros | |
The ARM SysTick counter is used to time various fusion options. Timings are then conveyed to the NXP Sensor Fusion Toolbox, where they are displayed for the developer. These functions should be portable to any ARM M0+, M3, M4 or M4F device. If you are using a different CPU architecture, you will need to provide an equivalent set of macros, remove the macro calls from the fusion routines, or define a set of empty macros. | |
| void | ARM_systick_enable (void) |
| void | ARM_systick_start_ticks (int32_t *pstart) |
| int32_t | ARM_systick_elapsed_ticks (int32_t start_ticks) |
| void | ARM_systick_delay_ms (uint32_t iSystemCoreClock, uint32_t delay_ms) |
Sensor Drivers | |
Each physical sensor must be provided with one initialization function and one "read" function. These must be installed by the user using the installSensor method defined in SensorFusionGlobals. By "physical sensor", we mean either individual sensor type (such as a 3-axis accelerometer) or a combo-sensor such as the NXP FXOS8700 6-axis accel plus mag. The init() function for each sensor is responsible for initializing all sensors contained in that package. The read() function is responsible for reading those same sensors and moving the results into the standard structures contained within the SensorFusionGlobals object. | |
| int8_t | MPL3115_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXOS8700_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXAS21002_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MMA8652_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXLS8952_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MAG3110_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MMA8451_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXLS8471Q_Init (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MPL3115_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXOS8700_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXAS21002_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MMA8652_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXLS8952_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MAG3110_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MMA8451_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXLS8471Q_Read (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MPL3115_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXOS8700_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXAS21002_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MMA8652_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXLS8952_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MAG3110_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | MMA8451_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
| int8_t | FXLS8471Q_Idle (PhysicalSensor *sensor, SensorFusionGlobals *sfg) |
Users who are not using NXP hardware will need to supply their own drivers in place of those defined here.
Definition in file drivers.h.
| void ARM_systick_delay_ms | ( | uint32_t | iSystemCoreClock, |
| uint32_t | delay_ms | ||
| ) |
Definition at line 75 of file driver_systick.c.
Referenced by initializeFusionEngine().
Here is the call graph for this function:
Here is the caller graph for this function:| int32_t ARM_systick_elapsed_ticks | ( | int32_t | start_ticks | ) |
Definition at line 64 of file driver_systick.c.
Referenced by ARM_systick_delay_ms(), and fFuseSensors().
Here is the caller graph for this function:| void ARM_systick_enable | ( | void | ) |
Definition at line 47 of file driver_systick.c.
Referenced by initializeFusionEngine().
Here is the caller graph for this function:| void ARM_systick_start_ticks | ( | int32_t * | pstart | ) |
Definition at line 55 of file driver_systick.c.
Referenced by ARM_systick_delay_ms(), and fFuseSensors().
Here is the caller graph for this function:| int8_t FXAS21002_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t FXAS21002_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t FXAS21002_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t FXLS8471Q_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 234 of file driver_FXLS8471Q.c.
| int8_t FXLS8471Q_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 135 of file driver_FXLS8471Q.c.
| int8_t FXLS8471Q_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 177 of file driver_FXLS8471Q.c.
Here is the call graph for this function:| int8_t FXLS8952_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t FXLS8952_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t FXLS8952_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t FXOS8700_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 296 of file driver_FXOS8700.c.
| int8_t FXOS8700_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 151 of file driver_FXOS8700.c.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int8_t FXOS8700_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 265 of file driver_FXOS8700.c.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int8_t MAG3110_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 168 of file driver_MAG3110.c.
Referenced by fusion_task().
Here is the caller graph for this function:| int8_t MAG3110_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 103 of file driver_MAG3110.c.
Referenced by fusion_task(), and main().
Here is the caller graph for this function:| int8_t MAG3110_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
Definition at line 134 of file driver_MAG3110.c.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int8_t MMA8451_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MMA8451_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MMA8451_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MMA8652_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MMA8652_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MMA8652_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MPL3115_Idle | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MPL3115_Init | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |
| int8_t MPL3115_Read | ( | PhysicalSensor * | sensor, |
| SensorFusionGlobals * | sfg | ||
| ) |